<?php
require_once dirname(__FILE__)."/../../../../classes/Posts.class.php"; 
require_once dirname(__FILE__)."/pagination.php"; 

if(isset($_POST['start'])){
    $sort = $_POST['sort'];
    Posts::sort_categories($sort);
}  
?>
